package com.android.minetopin.model.member;

import java.util.List;

/**
 * Created by gao on 2017/11/6.
 */

public class MainADData {

    /**
     * data : {"ad":[{"path":"http://www.hywyp.com/upload/99/images/gallery/i/s/7157_src.png","iosurl":"http://www.hywyp.com/wheel","anurl":"http://www.hywyp.com/wheel"}]}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1509935275
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private List<AdBean> ad;

        public List<AdBean> getAd() {
            return ad;
        }

        public void setAd(List<AdBean> ad) {
            this.ad = ad;
        }

        public static class AdBean {
            /**
             * path : http://www.hywyp.com/upload/99/images/gallery/i/s/7157_src.png
             * iosurl : http://www.hywyp.com/wheel
             * anurl : http://www.hywyp.com/wheel
             */

            private String path;
            private String iosurl;
            private String anurl;

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getIosurl() {
                return iosurl;
            }

            public void setIosurl(String iosurl) {
                this.iosurl = iosurl;
            }

            public String getAnurl() {
                return anurl;
            }

            public void setAnurl(String anurl) {
                this.anurl = anurl;
            }
        }
    }
}
